﻿Create a custom function to be run with the waypoint